<?php

use Faker\Generator as Faker;
use App\Models\News;

$factory->define(News::class, function (Faker $faker) {
    return [
        'title' => $faker->text(20),
        'content' => $faker->text(100),
        'is_recommend' => random_int(0, 1),
    ];
});
